package gx.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import gx.dao.StoreDao;
import gx.entity.Store;
import gx.entity.common.Page;
import gx.service.common.BaseService;
@Service
public class StoreService extends BaseService<Store>{
	private StoreDao storeDao;

	public StoreDao getStoreDao() {
		return storeDao;
	}
@Autowired
	public void setStoreDao(StoreDao storeDao) {
		this.storeDao = storeDao;
		super.setDao(this.storeDao);
		
	}
	
	public Page<Store> findByProductName(int pageSize, int number, String values){
		return storeDao.findByProductName(pageSize,number,values);
	}

	public void ruku() {
		 storeDao.ruku();
		
	};
}
